package com.macro.mapper;


import com.macro.pojos.pojo.UserAndRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

@Mapper
public interface UserRoleMapper {
    Integer insert(@Param("userId") Integer userId, @Param("date") Date date, @Param("fase") Boolean fase);

    UserAndRole findByUserId(Integer id);

    void updateIsDelete(UserAndRole userAndRole);

}
